﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers.payment {
    import net.wooga.pets.events.*;
    import net.wooga.pets.constants.*;
    import org.robotlegs.mvcs.*;

    public class StartPaymentCommand extends Command {

        public var event:InfoEvent;

        override public function execute():void{
            var _local1:InfoEvent = new InfoEvent(EventConstants.HANDLE_PAYMENT_TRACKING, "open", this.event.info);
            dispatch(_local1);
            var _local2:InfoEvent = new InfoEvent(EventConstants.CALL_EXTERNAL, ProtocolConstants.PLACE_ORDER, [this.event.info]);
            dispatch(_local2);
        }

    }
}//package net.wooga.pets.controllers.payment 
